package com.mall.order.dto.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.extension.activerecord.Model;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import com.baomidou.mybatisplus.annotation.TableField;
    import java.io.Serializable;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 商品描述表
    * </p>
*
* @author xrj
* @since 2022-05-02
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class TbExpress extends Model<TbExpress> {

    private static final long serialVersionUID = 1L;

            /**
            * 快递ID
            */
            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            /**
            * 商品描述
            */
        @TableField("express_name")
    private String expressName;

            /**
            * 排序
            */
        @TableField("sort_order")
    private Integer sortOrder;

            /**
            * 创建时间
            */
        @TableField("created")
    private LocalDateTime created;

            /**
            * 更新时间
            */
        @TableField("updated")
    private LocalDateTime updated;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
